package com.company.daoTest;

public class TestDAO {

	public static void main(String[] args) throws Exception{ 
		Emp emp = null;
		for (int i = 0; i < 5; i++) {
			emp = new Emp();
			emp.setEmpno(i);
			emp.setEname("xiazdong-" + i);
			emp.setJob("stu-" + i);
			emp.setHireDate(new java.util.Date());
			emp.setSal(500 * i);
			DAOFactory.getInstance().doCreate(emp);
		}

	}

}
